Fix template js path