update js for new rating structure