Adding element.getElement API