Replace jQuery "live" deprecated by new "on"

The "live" function of jQuery is deprecated since 1.7 version and removed since 1.9.

Updated to the new function "on"