did some style refactoring and reformatting of html