Update mlb-toggleswitch.js

Passing a var as opposed to string.