CRM-10693 - crmSnippet - Convert clientside helpers to use $.widget; standardize events.