Document.write really works in chrome, firefox and safari now.