Compatibility with Express 4.0

Signed-off-by: Bruno Lesieur <bruno.lesieur@gmail.com>