Update rating.js

commented code removed