var Mongoose = require('mongoose');
var Map = require('./models/map');

Mongoose.connect('mongodb://localhost/mappoints', function () {
  console.log('connected to mongodb');

  Mongoose.connection.db.dropDatabase();

  var items = [
    {
      mapName: 'Norway',
      imagePath: '/img/norway.png',
      urlSafeName: 'norway'
    }
  ];

  items.forEach(function (item) {
    new Map(item).save();
  });

});

@@ -169,16 +169,18 @@
 odb');%0A%0A
+//
   Mongoo
@@ -212,17 +212,18 @@
 base();%0A
-%0A
+//
   var it
@@ -234,14 +234,18 @@
 = %5B%0A
+//
     %7B%0A
+//
     
@@ -265,16 +265,18 @@
 orway',%0A
+//
       im
@@ -303,16 +303,18 @@
 y.png',%0A
+//
       ur
@@ -337,20 +337,28 @@
 ay'%0A
+//
     %7D%0A
+//
   %5D;%0A
-%0A
+//%0A//
   it
@@ -387,16 +387,18 @@
 item) %7B%0A
+//
     new 
@@ -415,16 +415,18 @@
 save();%0A
+//
   %7D);%0A%0A%7D

Comment out re-init db code