Added javascript object version of odds and outs calculator