Fix JSDoc comments

I was reading the code(and trying to understand it :P) and I found these little errors in the docs. 

BTW I think the way access different relations using memoization is really smart :)