fixed the ~/public/js/views/bet.js