minify js from web runtime

fixes #3