better phonegap configuration