how about creating a separate .
js file and referencing it from the main page , then your client would just need to edit that one file with a small amount of code in it rather that trawlling through the whole page.
if there are any problems then you know wher they were generated