improve check for browser or node.js
better wording of error messages and event names
whitespace
add example
improve readme