Fix editorconfig configuration for *.js files and define more options