       requestAnimationFrame @setPosition
     , 500
 
-    @setPosition()
-
   componentWillUnmount: ->
     clearInterval @int
     clearInterval @placer_int

    return if !wrapper || !translate_el

    coords = getCoords(wrapper)

    left = coords.left + coords.width / 2 - @refs.translation_el.clientWidth / 2
    top = coords.top

    # set by Google Translate when a language is selected, which screws up the top calculation
    if document.body.style.top == "40px" 
      top -= 40

    if @local.left != left || top != @local.top
      @local.left = left
      @local.top = top
      save @local   
       

  componentDidMount: -> 

  insertTranslationWidget: -> 
    subdomain = fetch '/subdomain'

    new google.translate.TranslateElement {
        pageLanguage: subdomain.lang
        layout: google.translate.TranslateElement.InlineLayout.SIMPLE
