fix express 3.1 definitions to be used as a module #264