Apostrophecms: Image Manager hanging on replicated site

I've replicated an apostrophe site from a dev server to a production server. Both are linux servers. The steps performed are:

  1. Push the entire project directory tree over to the new server (via git).
  2. The git post-receive hook will call npm -install which will install everything specified in the package.json file
  3. Migrate the DB using mongodump and mongo restore.

When the production site is started up (via node app.js) the blog text and images are present. There are no widgets created and thus not they're populated, however, this is no big deal as I can recreate and repopulate them.

The problem occurs when I go into the Images Manager dialog. If I do anything in the Image Manager i.e. to add an an image to a widget, the browser becomes unresponsive. BTW, all of the images from the original site are present in the Image Manager so the DB is in sync with the uploads/attachments dir. Here is the console output from the broswer:

jquery.js:1444 Uncaught RangeError: Maximum call stack size exceeded
at String.replace (<anonymous>)
at Function.Sizzle.matchesSelector (beap.ie/modules/apostrophe-assets/js/vendor/jquery.js:1444:14)
at Function.jQuery.filter (beap.ie/modules/apostrophe-assets/js/vendor/jquery.js:2709:15)
at jQuery.fn.init.jQuery.fn.(anonymous function) [as parent] (beap.ie/modules/apostrophe-assets/js/vendor/jquery.js:3059:17)
at HTMLInputElement.<anonymous> (beap.ie/modules/apostrophe-images/js/manager-modal.js:30:17)
at HTMLDivElement.dispatch (http://beap.ie/modules/apostrophe-assets/js/vendor/jquery.js:4670:9)
at HTMLDivElement.elemData.handle (beap.ie/modules/apostrophe-assets/js/vendor/jquery.js:4338:28)
at Object.trigger (http://beap.ie/modules/apostrophe-assets/js/vendor/jquery.js:4579:12)
at HTMLInputElement.<anonymous> (hbeap.ie/modules/apostrophe-assets/js/vendor/jquery.js:5289:17)
at Function.each (beap.ie/modules/apostrophe-assets/js/vendor/jquery.js:384:23)

I checked the linux server with the top command and there's no unusual workload. Here' my package.json file dependencies:

  "dependencies": {
    "apostrophe": "^2.0.0",
    "apostrophe-blog": "^2.0.0",
    "html2plaintext": "^1.0.1",
    "lodash": "^3.1.0",
    "moment": "^2.14.1"
  }
}

The code base on both servers is identical as they both originate from the same git repo and the same post-receive hook is run.

Have I missed a step in the migration?