Update maker.js

added on document ready function to attach action Listener to the inputs of class "socketSwitch"