typos
Clean up how nulls are handled in submodel stats
Ensure correct handling of nulls on js side
Jdoc