PHP Form Validation using Parsleys.js Library