agam: Search bar bug fix, add tag in AJAX