The path to the file should be:
C:\Program Files\Adobe\Adobe Photoshop CC 2015\Presets\Deco\_Deco Menu.jsx.
You can use any text editor to change the script, the extendscript toolkit program is just easy as it list the line numbers. You just open the file, and change it to match the code:
try{ if (win.panels[pI].menu[ mI ].var1.enabled == enable) //no change return; } catch(e){return}