Added XmlHttpRequest and set orientation in manifest