Fixing ripple js for correct functioning under windows (window.openDatabase = null).
For correct work add the following script as a child of <head> tag in main html file of your cordova project:
<script>if (window.top.ripple) { window.top.ripple("bootstrap").inject(window, document);}</script>