Update mlb-toggleswitch.js

Safari fix