       @parentElt = document.getElementById @config.parentElt if @config.parentElt
       @_addEventHandlers()
       @results = @_buildResults()
+      @xhr = @_setupXHR()
 
     _updateConfig: (args) ->
       newConfig = {}


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

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

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