Modified appframework.ui.js and xhr.js libraries for compatibility with DebugMobi.