Bugfix fir IE8

Fixes two problems:

1) A typo