Add unit tests, uglify task, minified version, and improve transliteration