created XmlHttpRequest prototype