added the xmlhttprequest library to the codebase