replace $.bind() with $.on() in unit tests; per #13272