Fixing Issue #312 for IE8 and 'throw'