add to favorite fix for IE8