unify usage of commas after last elements

may be, a rule to jshintrc should be added.