required fields not getting checked - also js errors - source code looks like it has broken links