added minification of output javascript