webglapp.js: make synapse coloring robust to not having one or the other
type of synapses.