Firefox getElementById bug fix

For some reason firefox doesn't support getElementById on xml documents,
only for dom.  WTF indeed.