extended documentation, now using minified code in example

also fixed a typo in stopPropation variable naming