Add jshint and editorconfig and delete unused files

@trygve-lie