Script in /head broke site

It’s in the DB. You should be able to recover by disabling the customization via the rails console.