Added styles and refactored code in Tagcloud