Added a lot of element creation for IE