commit enveloppe phonegap