Added a missing definition of on() for jquery