Create rating.js