fix trailing ',', add .jshintrc, fix named transformations