Refactoring to store results in local storage.  Hoping to get around any memory issues.