replace all js files to footer