add ~/public/js/view/betTable.js to ~/public/js/views/profile.js