changed config to work with phonegap