I just use pure HTML, CSS, and JS. Without any engine, there can't be any AI code.
It can be in the browser :).
That’s on the player’s side.
The player could be using Waterfox.