updated the plugin to phonegap 2.9.x