IE11 compatibility hook