Fixed bug in js on ratings page for linking rows.