 
     setHash = (hash) =>
       location.hash = "#" + hash.replace(/^#/, "") if @settings.updateHash
-    
+
     submitHandler = (e, callback) =>
       $(":focus").trigger "blur"
-      
+
       $form = (if (typeof (e) is "string") then $(e).eq(0) else ((if e.target then $(e.target) else $(e))))
 
       if $form.length and $form.is(@settings.formSelector) and $form.attr("action")


      # Find the nearest tappable ancestor
      $el = $el.closest(selectors) unless $el.is(selectors)
      
      # Make sure we have a tappable element
      if not $el.length or not $el.attr("href")
        console.warn "Could not find a link related to tapped element."
        return true
      
      # Init some vars
      target = $el.attr("target")
      hash = $el.prop("hash")

    # PRIVATE METHODS

    initHairExtensions = (options) =>

      # Preload images
      for i in @settings.preloadImages
        (new Image()).src = @settings.preloadImages[i]

      hairExtensions = []

      # Set appropriate icon
