Only try to minify js if there is js to minify