Resolved errors in jshint.