ported python builder to Node.JS version (JS FTW) and added JS minification