Revert "Fix the document.js"

This reverts commit 7ea760ca0658cf8245f11e80db520ebba95dab78.