moved to libs, added .jshintrc and .editorconfig