Fix eClose handling on IE8.
attachEvent onclick instead of click.
Merge pull request #23 from jannehietamaki/master

Fix eClose handling on IE8.