A javascript implementation of ELO scoring.