closing paren on the same line as closing brace is normal for javascript lambdas. I'm not sure what the preferred style is in the C++ world for this.