updates to show search results in jade template view