node works with mongodb queries