Remove all unnecessary usages of innerHTML, porperly comment the useful ones