Animation lag error

URL of experiment:

Description of the problem: I am having an issue running through the entire experiment without significant lag or complete termination of the program. I can run through it on local devices, however, the online adaptation seems to have some issues. There has never been an actual error code that pops up. We have used different devices and browser combinations with no luck. Does anyone have any ideas on what we can try?

Is your animation currently running at 60 frames per second? If you update every third frame you should still get smooth motion but reduce the processing by 66%