Added ready event and removed serialport version dependency