fix bug in Forms (to do with jQuery 1.10 upgrade)