remove trailing commas

remove trailing commas in widget arrays