#93: html_form.js, replace 'else' statements with 'else if'

Resolves #93.