Minor cleanup for tag suggestions JS
Merge pull request #1349 from darkwing/new-doc-suggestions-fix

Minor cleanup for tag suggestions JS