remove trailing comma for ie compatibility