fix javascript pathing