fixed typo with pearServer.removeDoc -> pearserver.removedDoc