every js script I execute doesn't work
When I try to execute them I'm just thrown onto the main screen, or it restarts, or it shows an error
Device: m5stickcplus
(Image of error I get when I execute snake script)
Sorry, bad english
There's a phenomenon where a script that was working on a lower version doesn't work as it moves to a higher version. This is probably because the development side modified the code for a better environment, causing a conflict with the script (if not, sure, that's what I think).
Very true either use and older version near the time that script was published or go into the firmware and edit the variables then manually flash it with you custom firmware. You could also re-write the script yourself!