You want to add an additional editable region that looks like this:
<!-- TemplateBeginEditable name="SpryValidation" -->
<!-- TemplateEndEditable -->
right before the closing body tag for your template. Adding the spry validation to the head causes the error.
I would recommend downloading the files again and starting with fresh files and then applying the updated template to the pages.