datum: remove apparently unneeded r5js.Datum.isUndefined
datum: use constants instead of string literals where possible