Changed rate.js