Fix JS path issues