cleaning up jshint errors