make sure to use jQuery.fn.on, not jQuery.fn.live