Fix indentation error in formatResults.js
Memoize results of table selectors.