#100: initializer.js, create and define websocket within try{}