My guess is that it's getting confused because you're starting the connection to it before it's given it's response to the getVersion() (look at the order the messages show up with them combined) - waiting a short time to ensure that it's done might fix it.
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.
My guess is that it's getting confused because you're starting the connection to it before it's given it's response to the getVersion() (look at the order the messages show up with them combined) - waiting a short time to ensure that it's done might fix it.