Patch 1 and jslint

Adding JSLint to the switch change