Added defacto JavaScript linting with eslint. I also included an editor config file to aid common style. (http://editorconfig.org/#example-file)