Fixes "live" option to work with jQuery.fn.on

Use delegation syntax of jQuery.fn.on when it is jQuery version 1.7+