What's a software resistor ?
Using software, the pin is set to pull up mode which connects an internal resistor in the chip ( about 40k ) . Have a look at pin modes in the reference for examples.
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.