Adding in jshint and editorconfig
Fixing linting warnings