allow user-supplied express object
upgraded to express 3.3.4