Add documentation for Javascript global objects