device cordova json