moved ratings.js