Removed usage of innerHTML