Update Javascript to use the correct element IDs in the HTML example.