add IE9 support

I fix linter issues while I'm at it, will do it for the rest of the files soon.