Javascript database that runs in node.js or browsers with localStorage