Camera Check Functionality : Cordova