device information with Cordova Device Plugin