add xmlhttprequest to js.html