Javascript object store - in browser or in node.