dmpublishsetup.js