fix #3: removing the troublesome .onAttach instead of trying to suppress
the error caused there :O
update docs
Merge pull request #6 from daroczig/master

removing .onAttach and previous potential fix for suppressing error