Open the Web IDE, paste this code in to the left-hand side, then disconnect. You'll have to do something a bit more complex to make it persist through changes of apps, but after pasting that code will work until you decide to change apps.
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.
As I'd mentioned in the email to you:
Open the Web IDE, paste this code in to the left-hand side, then disconnect. You'll have to do something a bit more complex to make it persist through changes of apps, but after pasting that code will work until you decide to change apps.