Update dev.js to generate invites