add few hooks for js form control