Resolved jshint errors