app.js changes for jitsu