Consider decomposing this into several funtions:

1. is the eventHandler that responds to clikcs of the searchbutton
2. is the thing that actually sends the $.get request
3. is the thing that handles the response from the $.get request.

Then rewrite this to be:
```
var Searcher = {
  clicked: false,
  handleSearch: function(e) {
    e.preventDefault();
    Searcher.sendSearch();
  },
  sendSearch:function() {
     $.get('/search', $('#gimmesongs').serialize(), Searcher.displaySearchResults);
  },
  displaySearchResults: function(results) {
    $('.loading_div').fadOut(1000);
    $('body').html(response);
  }
}
$('#searchbutton').on('click', handleClick