Jquery 1.9.x compatibility

Since "live()" is deprecated, it could be changed to "on()".