fix path for javascript file