Memoize calls to js-analyze