update demo for screen sharing and be compatible for chrome