XMLHttpRequest compatibility layer for dyn.js