Fix for ie < 10