shortened some JS code.
Merge branch 'dev' of https://github.com/stewie1570/MasterMindGame.git