Upgrade to jQuery >= 1.6 (attr -> prop)