var JugglingStore = require('connect-jugglingdb')(express);//send express as a parameter here

you have to send express as a param to the required module, if not so it will bug