Put the code on the right-hand side of the IDE, and send the code to Espruino, so the module gets sent over.
That should sort it out - the IDE is responsible for fetching the module and sending it over with your code. If you press the up arrow after sending code that way, you'll see the modules.addCached() call, and the code for that module, inserted by the IDE.
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.
Put the code on the right-hand side of the IDE, and send the code to Espruino, so the module gets sent over.
That should sort it out - the IDE is responsible for fetching the module and sending it over with your code. If you press the up arrow after sending code that way, you'll see the modules.addCached() call, and the code for that module, inserted by the IDE.