modified app.js and updated wager template