Codeformatting
searchKey added to $_SESSION['latest_search'] and pushed to client as JS setting
Removed comment and setting search_key