Calculate averate rating of a post and pick a star from 1 to 5, recalculating rating with no page refresh.