Updated sbb.js and app.js