add functionality to bet.js
Merge branch 'master' of https://github.com/zencephalon/alphabet