Why are we clearing the actor path here?  It seems this is a helper function.  I guess you clear on every request?  Maybe we should put a comment here as to why we do that?

Documenting JS sure does stink, but assumptions like this are good to document for others who don't pay close enough attention and try to do code reviews :)