Update jquery.extend.js

Create custom events and assign event handlers with extended version of jQuery on()