Combined XMLHttpResuqest.js and oberserver.js