Fix #2
Change the callbackDocument in postAnnotatin and getEntities function to callbackAnnotation and callbackEntities