pub hack app with express mongo require amd