Add input text field. Add JS function for handling items entered via input text field.