Sample code for espruino serial - web interface