JavaScript is required to toggle light/dark mode..
Note
The TRAC Web API Package is available to download and install from npmjs.com.