JS library for managing files in browsers and phonegap wrapped webview