added some html elements and js class for trend.