Remove commas and parseint. Now rating % will be correct.