Update for compatability with Phonegap 3.0 CLI