Improvements to code handling Vimeo hack, Google Docs