             b: rgb[2]
           hsl = rgb_to_hsl rgb
           color = {rgb, hsl} 
-          console.log color
           callback color if callback
           return color
         else 
-          console.log "timeout"
           setTimeout imagePoll, 50
           return null
 

        # we have to extract a background url into a temporary IMG
        # element so that it can be processed by colorThief

        url = el.style['background-image']
                .replace(/^url\(["']?/, '').replace(/["']?\)$/, '')
      else 
        url = el.src


  while el && el.tagName not in ['BODY', 'HTML']

    is_image = el.tagName == 'IMG' || $(el).css('background-image') != 'none'

    # Skip this element if it doesn't contribute to background color
    # or if it is a decendent of behind_el
