Hangs without a phonegap version.