Fixed two bugs in the ajax related methods
Fixed two bugs in the ajax related methods

lanson647/easyXDM,cake-disposal-squad/easyXDM,jmptrader/easyXDM,oyvindkinsey/easyXDM,aaron-goshine/easyXDM,oyvindkinsey/easyXDM,oyvindkinsey/easyXDM,aaron-goshine/easyXDM,cake-disposal-squad/easyXDM,chazen/easyXDM,jmptrader/easyXDM,aaron-goshine/easyXDM,lanson647/easyXDM,chazen/easyXDM,jspath/easyXDM,chazen/easyXDM,oyvindkinsey/easyXDM,oyvindkinsey/easyXDM,jspath/easyXDM,lanson647/easyXDM,cake-disposal-squad/easyXDM,jmptrader/easyXDM,jspath/easyXDM