What I did was add the sample as a project in Netbeans, 'Clean and
Build', and then 'Run'. After the initial page launched, I clicked the
Add button and added a customer. This just left me hanging with no
indication of success or failure (but get the above JS errors except
the last line). Then returned using the '<Go back' link and got back
to the main page (and received the error shown in the last line
above).