rootUrlPathPrefix fix for cordova

Adds ROOT_URL for Cordova apps. Fixes 404 when loading images on mobile app.
Your right :)