update to ratchet.js to receive file response not server (for phonegap)