Remove usage of innerHTML