jQuery 1.9 compatibility

jQuery doesn’t support `$.fn.live anymore`. We should use `$.fn.on(event, selector, callback)`.