Support jQuery 1.9

Thanks to @RichardD2 in #11.