a simple javascript lru-cache lib can be used in node.js or browsers