Fixed trailing comma and missing semicolons (linter errors/warning).