fixes some jslint errors and ran grunt to minify.