#101: html_form_ajax.js, remove bad scoping of 'var', and change msg

Resolves #101.