reset to phonegap plugin