Fixed src/rating/docs/demo.js to match current master.