Add proxy to http://localhost:9090/ for running js tests
Refactor js code
Git-ignore some more file types
Reformat package.json; Fix dependencies; Add 'npm test' script
Add js test build for travis-ci