[TIDOC-1125] Fix jsduck generator to add deprecation field for events