Update the JavaScript simulation to implement beacon clocks, and utilize Monte Carlo technique to measure the statistical latencies of different spatial clock comparisons.
Question: how shall these comparisons be selected such that they do not transgress receiving lightcones?