Add .jshintrc and .editorconfig
Fix minor code quality issues.