Fix for jquery 1.9

Fix this plugin to work with recent versions of jQuery since RefineryCMS has been updated to 1.9.

Yay!