A faster JavaScript memoizer