#244: html_form_ajax.js, propery check input element 'type'