Playing with phonegap and ratchet.