Finished table and added js to get the selected ratings