prevent script from crashing ie8 execution
revent script from crashing ie8 execution