Returns the Xrm.Page.context object. See Client-side context (client-side reference) for more information.
Returns a value indicating the order in which this handler is executed.
Returns a reference to the object that the event occurred on.
Retrieves a variable set using setSharedVariable .
Sets the value of a variable that can be used by a hander after the current handler finishes.
Use the getEventSource method in functions to make them more generic. For example, if you have a function that formats a telephone number, you can use the getEventSource method to refer to whatever attribute caused the onChange event. Your functions do not need to reference a specific attribute.
Hope it gives you new ideas to extend even more CRM.