Error onCreate is not a function

We are creating a demo of a car configurator for a upcoming project and I’m trying to use an old script for car lights it used to work fine, but now when I added to the 3D model I got some errors.

I tried changing engine version but the problem persist, but nothing is working.
In the console I got the same error

This is the link to our project

The root of the error is the script blob.js

I tried running the project but don’t get the error.

Same here - no errors for me. What are the steps to reproduce it? Also note that we can’t see branch variants.