Fixing basic jshint issues