It's possible it is a bit tight, but to give it a fighting chance try:
Modules uploaded as functions
To Flash (execute code at boot)
That way you end up with the code executed from flash memory, which should help with RAM usage.
@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.
It's possible it is a bit tight, but to give it a fighting chance try:
Modules uploaded as functions
in communications settingsTo Flash (execute code at boot)
That way you end up with the code executed from flash memory, which should help with RAM usage.