6.2) finish ratings, move code into jquery plugin