DB commit needs app.js variables