Great - glad you got it sorted in the end!
If you're interested, there's a bit more info/background on this here: http://www.espruino.com/Puck.js#i-saved-some-code-and-my-puck-js-no-longer-works
@Gordon 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.
Great - glad you got it sorted in the end!
If you're interested, there's a bit more info/background on this here: http://www.espruino.com/Puck.js#i-saved-some-code-and-my-puck-js-no-longer-works