   LOADING_CLASS = "is-loading"
   PAGE_TWO_CLASS = "is-page-two"
   ACTIVE_CLASS = "is-active"
-  CURRENT_INDEX = 0
+  CURRENT_INDEX = -1
 
   FILTER_INPUT = '.dropdown-input .dropdown-input-field'
 


    $listItem = $(selector, @dropdown)
    $listItem.addClass "is-focused"

$.fn.glDropdown = (opts) ->
  return @.each ->


        if currentKeyCode is 40
          # Move down
          CURRENT_INDEX += 1 if CURRENT_INDEX < ($listItems.length - 1)
        else if currentKeyCode is 38
          # Move up
          CURRENT_INDEX -= 1 if CURRENT_INDEX > 0
