ie8 fixes
Merge pull request #1983 from fivetanley/ie8-fixes

ie8 fixes