Setup phonegap plugin