The `X` in `We hook into X and listen for Y.` is `forms by replacing the 'form.submit' function`.

I've read the sentence too many times now so I can't decide whether it's fine or not.