Update ratingDirective.js