-Fixed jshint errors