Update example1.html

Correct getElementsByTagName() in example file.