fix js[] warnings from our generated code