fix other js breakage