Made xhr firefoxOs compatible