No problem - how are you connecting the battery to Espruino?
The neopixel lights need between about 3 and 5v - not 9v - so if you've powered the lights off 9v too that's more than likely what's causing your problems?
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.
No problem - how are you connecting the battery to Espruino?
The neopixel lights need between about 3 and 5v - not 9v - so if you've powered the lights off 9v too that's more than likely what's causing your problems?