Enable to execute grunt and jshint
Refactoring

Inline method
Change error message format
Display deleted event count and fix error message bug