`phx-click` and JS `onclick` together

I’ve wrapped this and a bunch of other utilities for dealing with the JavaScript context from LiveView into a package here: GitHub - Miserlou/live_json: LiveJSON - LiveView for JSON · GitHub