refactor (and format) zab2.go
zab2: partially fixed dashboard code
wrap getJSON in  to prevent premature drawAndSetData call