Updated form endpoint
Updated validate url
Added cors header to validate
Refer to form as "this"