Export overridden getElementById to fix security errors.