Use event constructors to create onchange and click events
Merge branch 'handle_onchange' of github.com:apexclearing/switchery into apexclearing-handle_onchange
Refactor code
Merge apexclearing:handle_onchange