Create ratingcontrol.js