JSCS: simplify trailing comma rules