Update gdoc_scripts.js

More cleanup.