Fix the JS file links in page template