phonegap play trick