jQuery 1.9.0 compatibility (issue 60)