Now works with jQuery 1.9.1