Added support for passing parameters to mongoDB client javascripts