More fixes/test fixes for IE<9