fixes #26

FIxes Issue #26

Changes:
* event.stopPropagation doesn't exist in IE8, use cancelBubble instead
* event.source is not === window in IE8, use == instead