Resolved jshint warnings