Fix paths to JavaScripts