Merge pull request #1 from techfort/v1.1.0

V1.1.0
throw error if no collection removed and fix cod style
fix callback more standard for NodeJS
make emit function work with more than one arguments
fix semicolon style
Merge pull request #22 from GKuChan/v1.1.0

fix coding style and optimized functions