Add missing newline to end of file
Emit bind and unbind events
Merge pull request #4 from deathcap/bindevents

Emit bind and unbind events