It's a bit too late for this now but I really don't like hardcoded URLs. This means that if someone edits `urls.py` they have to remember to also edit `search.js`. 
A much better pattern is to do this:
```javascript
var form = $('#search-form form');
var fieldsURL = form.data('fields-url');
var resultsURL = form.data('results-url');
var customURL = form.data('custom-url');
```
```html
```