V1.1 jazzcat document write ref

Keeps a reference to the load-time implementation of document.write around in case it is later re-assigned by another script.