Fixed some jshint issues

Default fixes for jshint.