Fix for IE11 viewHelper test failures - issue #298

Fixes #298