Started writing production version of MasterMind js client.