Updates and javascript lint

Updates npm modules to the most recent version.
Run ``` npm install ``` to update.
If that doesn't work delete the npm_modules folder and run install again.

Fixes linting errors in js files