onBeforeRemove event added
Merge pull request #7 from joom/master

onBeforeRemove event added