added votewrapping and refactor html for index