Replace deprecated jQuery.live() by jQuery.on()