Fixed failing test after upgrade to jQuery 1.9