fixing links to js files