Ok... you didn't change anything??!

Either way, I found the answer on another forum. I'm using innerHTML instead of write.