Produce valid scale() syntax by avoiding trailing comma.