#225: html_form_ajax.js, properly test for JSON attribute