fixed styling on tp votes and poll votes
Added user agent detection inside the html body