Removed jshint warnings