Add editorconfig
Use AMD declaration API