removed fname and lname, added javascript for form elements