added temp getWager function
added wager.js to controllers.