This problem can be avoided by adding a dummy parameter without trailing comma to the very end of settings.js (and of course terminating the last "real" parameter with a comma as well.
change this
// "chordsHovering": false}
to
// "chordsHovering": false,` / dummy parameter to overcome the trailing comma problem DO NOT CHANGE ANYTHING BELOW THIS LINE */ "dummy": 0}`
https://github.com/bloodybowlers/UkeGeeks-ng/blob/7c4c5f94128890a4c39259e0d6fd24feb30c32c8/ugsphp/conf/settings.js_example#L3
This problem can be avoided by adding a dummy parameter without trailing comma to the very end of settings.js (and of course terminating the last "real" parameter with a comma as well. change this
// "chordsHovering": false
}
to
DO NOT CHANGE ANYTHING BELOW THIS LINE
*/
"dummy": 0
}`
// "chordsHovering": false,
`
/ dummy parameter to overcome the trailing comma problem