Upstream is close to releasing 0ad alpha 27, which includes an update to the embedded spidermonkey/mozjs copy (v115), so I'm inclined to leave this bug as-is and just package the next release when it gets released.