Complete JsDoc documentation

Documented all classes and methods, along with important members of the
classes.