add uglify to dev-dependencies
add some (incomplete) documentation