var JugglingStore = require('connect-jugglingdb')(express);//send expres...

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