Fix IE8 error with innerHTML = ‘’