backward compatibility with express 3.x

Would be great if you could make another release after merging this :+1: