Added ratings to rate.js