add document events throttling
Merge pull request #109 from vasily-kirichenko/events-throttling

Document events throttling