calling review.getAverageRating in reviews.html