displays input but still has an undefined ajax call