Simplified Javascript

Realized I didn't need to extract the input field ids for assignment of
values on load.  Could also rely on field order on reset, but since
already had function set up by id, and since this was easier to
understand, left as-is.