Josephs working processmap.js Script