Prevent parsing issue when element is undefined.

Content of http://www.cs.tut.fi/~jkorpela/www/testel.html couldn't be parsed and led to 'e' is 'undefined' error on line 121.