Django client-side form validation using JavaScript