add .gitignore
add editorconfig for js and json