cornered , she backed into janet 's office and stood next to the librarian 's chair , putting her hand on her friend 's trembling shoulder to steady herself as much as to comfort the sobbing librarian .