I think the more standard javascript practice is usually to pass null instead of a noop callback, and then have the called function check for the callback's existence before calling it (i.e. if (callback) { callback(); })