phonegap remote