adding .editorconfig
moving main.js
Switching to npm+browserify from bower