fixed some bugs on the ajax pinging, still doesn't pinging when multiple requests added