improve docs
add removeEvent method
add extra check on postMessage functionality