API Docs: document.js revised.