Move logic into document for updating trees/scripts.
Move logic into document for updating trees/scripts.

mbebenita/shumway.ts,mbebenita/shumway.ts,fdecampredon/jsx-typescript-old-version,hippich/typescript,mbrowne/typescript-dci,mbrowne/typescript-dci,popravich/typescript,mbebenita/shumway.ts,popravich/typescript,mbrowne/typescript-dci,hippich/typescript,popravich/typescript,fdecampredon/jsx-typescript-old-version,hippich/typescript,fdecampredon/jsx-typescript-old-version,mbrowne/typescript-dci