Added ping to avoid websocket timeout
+ Theoretical fix for allowing browser to receive serial data (untested)