Update JavaScriptcode.js

Take Button visibility works! It is all done, I still want to change score functions and I need to add descriptions and change Loc names