Create spawnsub.js