better minify js codes in script tag