put star rating into html, stars now display average rating