Update javascript for star ratings on front page