Have you been paid for a general set of deliverables and only now are the specific requirements coming out?
If you haven't been paid yet, will they not pay until they're "satisfied"?
Is the site even online yet?
That line being drawn is between the original contract and the hourly rate which you'll charge for further enhancements.
(I don't know if you're doing this on contract, as a favor for a small set amount, or for free.)
If maintaining the codebase is becoming unbearable, you probably can't throw away the whole thing and start over.
Maybe you could start the reorganizing effort with the enhancements and work in changes to your yucky, "legacy" code as time permits.
Warning: Any changes you make to simply allow easier maintenance of your code in the future can possibly not be seen by the customer as requirements or time that they'll pay for.