waveform.js: switch case for the bus messages