Modules

replaces document as javascript document.write