core: IE8 fixes for ubf js