Node.js module. Express/Connect middleware