TRUNK-4315: Validate on client side (javascript)

Decided to validate on client side because on server side calling provider.getName()
when person is set will return person's full name and so it is not possible to tell if
this was set on the client side.

TRUNK-4315 - Removed commented out code