express 4 support

In testing, err was null (not undefined).