Fix submit doesn't validate, Fix demo.js `syntax`