make Ripple work with InAppBrowser plugin