Add XMLHttpRequests to globals