changed few js files to footer