Added support for browsers that does not support XHR