Javascript IndexedDB and WebSql agnostic framework