fix for $.fn.serialize bug (see mailinglist)