Fix input IDs not matching their labels' for property.
Add a missing closing tag to the form element in the HTML5 example.
Update Javascript to use the correct element IDs in the HTML example.
Merge branch 'html-fixes'