auto add websocket script, when html file upload