style chat and ajax refresh