       resultItemClass: 'autocomplete__result',
       resultLinkClass: 'autocomplete__result__link',
       resultItemHoveredClass: 'autocomplete__current',
-      activeClass: 'autocomplete__active'
+      activeClass: 'autocomplete__active',
+      throttle: 200
       map:
         title: 'title',
         type: 'type',

      @parentElt = document.getElementById @config.parentElt if @config.parentElt
      @_addEventHandlers()
      @results = @_buildResults()

    _updateConfig: (args) ->
      newConfig = {}


      @el.addEventListener 'keypress', (e) =>
        @_keypressHandler e

    _setupXHR: ->
      xhr = new XMLHttpRequest()
      xhr.addEventListener 'readystatechange', =>
        if @xhr.readyState == 4
          if @xhr.status == 200
            @_populateResults JSON.parse(@xhr.responseText), @currentSearch
      xhr

    _buildResults: ->
      results = document.createElement 'UL'
