js/code.js: resolve jshint errors
package.json, Gruntfile.js: streamline tasks & script test