add to the document.js model