Updating documentation and fixing Google Closure Compiler externs