Js mondodb interface