Update the src attribute to point to v2-7 as shown below:

<!-- ITG Library JavaScript -->
<script
  id="inthegame-script"
  src="<https://html5.inthegame.io/v2-7/main.js>"
  defer
></script>

API Previous method blockAll (link) changed to block (link)