draw legend in ie8