merge of the first commits (mongo+js)