Clients now override the javascript on generate. Not tested.