add submit and withdraw.js.coffee and get functioning