Now works with jQuery 1.10