Use _.memoize instead of memoized.js