fixed incompatibility with jQuery 1.9 (WordPress 3.6 uses that)