DeviceInfo for Cordova

Here's my DeviceInfo for Cordova. Can you take a look