Cleanup jsdoc

A first pass at making sense of jsdocs.
Remove the module prefix from types
Correct property types where most important.