plugin to phonegap 3.5.0