change plugins to be compatible with phonegap 3.1