Correct attempts to set innerHTML of null