minify js codes in script tag