minify javascript and add source locally