clean up main_frames.html