JQuery plugin that dynamically writes with a document.write function