Update document.njs