Check this message and the surrounding conversation out: https://forum.espruino.com/conversations/397403/#17439381
Sounds very much like that is your problem to me, and the solution in that case is in that message.
@Ganblejs 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.
Check this message and the surrounding conversation out: https://forum.espruino.com/conversations/397403/#17439381
Sounds very much like that is your problem to me, and the solution in that case is in that message.