Fix live events not working on sites with jQuery 1.9+

Fix submitted by @davidmurdoch.

Thanks David!

fixes #45