Adding checks for JS functions removed from IE11. Fixes issue 7780