International Ultraviolet Explorer observations of M87