add the rate.js file