on now supports jQuery object passed as selector

The $.on function does not support a jQuery object being passed in as the selector argument as reported in http://bugs.jquery.com/ticket/14877.

I've made a very slight change, which will allow jQuery objects to be passed in optionally, instead of a string selector.