Tweaked IE10 bugfix

Probably best to check method exists rather than allowing an exception
to be thrown and handled.