Fixed a bug in serial port reopening and added a html demo