fix websocket script issue for ose-2.1