A small javascript program to rank darts player scores