Fixed a crash caused by an undefined readListener
Fixed a crash caused by an undefined readListener

Fixed crash bug that occours when calling Espruino.Core.Serial.open directly through code.
espruino/EspruinoTools,espruino/EspruinoTools