Implemented innerxhtml to resolve formatting issues with IE.