Fix broken rating stars HTML code generator