A javascript cardgame implementation of bridge