Redefined JS functions on form
use processClient as function for processing form info