A javascript powered game of dominos