Glicko2 javascript implementation