some basic jshint fixes from brackets editor