#582: html_form_delegator.js, properly test for 'undefined'