Javascript file dialog for Cordova/Phonegap applications