added js doc made it more inline with js authz api