Remember state of toggle switch
Suppress warnings at execution
Fix jshint warnings