I think that's a different issue... Can you try the old code? I think the problem is gone now anyway...
Old code (in one file, but with your function for the images). Upload brings different error now:
Upload failed, Unexpected response Uncaught SyntaxError: Got UNFINISHED STRING expected EOF
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I think that's a different issue... Can you try the old code? I think the problem is gone now anyway...