Create rating.js

Rating UI actions