fix links to JS files