add xmlhttprequest to component.json

fixes #235