Upgraded plugin to Phonegap 3.0 specifications