added config from phonegap example