Prepare html view stuff.