Revert "Return same c_DOMElement object when calling getElementById multiple times"

This reverts commit b568bf9587e411e31bf9bb58ebfebb4e1b152512.
Per https://bugzilla.wikimedia.org/show_bug.cgi?id=65703#c4