Memoize Node.JS functions with an LRU cache