patrick working on search.js - favorites