 updated method for appending methods to endpoint to explicitely set the endpoint as the context for calling internal methods
 updated method for appending methods to endpoint to explicitely set the endpoint as the context for calling internal methods

nherman/jsapi