small change in docson.js that should fix the error

Same as that other pull request - just different branch.