renamed filename from hooks to storage, makes more sense
aborting xhrs on disconnect
cleanup storage
emit dont need to return anything
renamed index.php to example.php, makes more sense
update demo link to example.php
added a disconnect option in the example
improving the example semantics
adapting to some js conventions
renamed 'message' to 'msg' to reduce some bytes
storage clean