Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Why does one get a javascript alert box of 1 when entering the letter p in the tags?

Comments
I believe somebody inserted some javascript to one of the tags that start with the letter p
which manifests itself when entering a tag and the autocomplete selections box pops up.
Probably should be removed.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.