Update check for required

Fixes error in < IE10