Lots of changes -- improved support for IE9 yay