LiveView external JS after socket mounted?

So what’s the code that’s not working?