Fix js locking problem that was breaking search (still).
Merge pull request #132 from fedora-infra/feature/fix-search-for-the-100000th-time

Fix js locking problem that was breaking search (still).