Javascript Html Input Value Array Behavioral Care