Fix some problem when I using tagmanager

I get this beautiful plug-in from google search, but the AjaxPushAllTags not work for me, so I change the code, I hope can help someone who meeting same problem with me. Unfortunately my English is not good, I have tried my best to clear the description :)