Prevent JS error for search landing page
Merge pull request #1082 from darkwing/search-js

Prevent JS error for search landing page