Replace deprecated call to jquery "live" by "on"