     frame = hilight.frame()
     imageFrame = {left: left, top: top, width: IMAGE_WIDTH, height: IMAGE_HEIGHT}
     
-    console.log direction
     if direction == 'top'
       topLeft = {x: imageFrame.left, y: imageFrame.top+IMAGE_HEIGHT}
       topRight = {x: imageFrame.left+IMAGE_WIDTH, y: imageFrame.top+IMAGE_HEIGHT}

    phrase = $(e.currentTarget)
    text = phrase.text()
    @_hilight(phrase)
    
    # Highlight locally available expressions
    # Make request to all expressions
    complete = ({responseText}) =>
      words = JSON.parse(responseText)

      for word, url of words
        wordReg = new RegExp("(#{word})", "gi")
        text = text.replace wordReg, '<span class="hilight">$1</span>'

      phrase.html(text)
      hilights = @_hilightsDict(phrase)
      
      for hilightName, hilight of hilights
        url = words[hilightName.toLowerCase()]
        hilight.data('imageURL', url)
      
      @_images(phrase, hilights)

    $.ajax("#{SERVER}/phrase/#{text}", complete: complete)

  _hilightsDict: (phrase) ->
    hilights = {}

      lastImage = last.data('imagePosition')
      currentImage = hilight.data('imagePosition')
      overlap = currentImage[axis] - (lastImage[axis]+size)
      if overlap < 0
        half = Math.abs(overlap)/2
        lastImage[axis] -= half
