JavaScript game, choose the correct word by color