New js logic for live search, updating count, improved styles for result page