fix links to javascript files