change back getElementById to element.