nit: spaces after commas. Does this file pass gjslint?