Minor touch to search JS