added exports to mongohq.js