change license to Apache
bundle Closure compiler
convert build script to JS
rebuild