Prevent script from running on IE 8 for compat