updated XHR fallback. now w/o jQuery