Fix paths of .pm files in .js file.