Asynchronously write javascript, even with document.write.