Removed usage of DOM and used html. instead.