Added phonegap wrapper.