Cleanup of "global objects"
add Web API keywords (very long list)
cleanup and reindent the whole file
major cleanup and reindent