Add allowSpectating boolean to JS and WZScript.