I'm trying to create a jQuery autocomplete for an application:

```
$("#search-input").on('keyup', function() {
    search = $(this).val();
    autocomplete_div = $(".autocomplete")
    $.get('/ajax/search/', {'search': search,}, function(response){
        autocomplete_div.html(response)
    });
});

```

What would I need to add to the above code to add a 400ms delay?