better browser compability: remove trailing commas in const array