javascript mastermind game