update how the Element object is done in IE