small fixes for IE8 support
Merge pull request #141 from paulswartz/ie8

small fixes for IE8 support