Mastermind game written in Nodejs+MongoDB