[docs] Small tweaks as reported in comments

* highlight `</form>`
* use correct id in `getElementById` call