`?function(err)` is for a nullable param, but an optional param should be `function(err)=`.

https://developers.google.com/closure/compiler/docs/js-for-compiler