Remove trailing comma in options array