add device cordova plugin