moved ie8 notice to function