js fix path