Use object operation in document.js.