[Remo/Andrew] a few fixes for ie8