Update for loop in Js snippets
Add mongoDB to PATH