IE11 support: Fix for #17417

This is a fix for ticket https://bugs.dojotoolkit.org/ticket/17417