           layoutComment chat, index
 
       updateComment = ->
-        console.log layoutedComment
         vpos = player.currentTime()
         videoWidth = videoEl.offsetWidth
 


        for commentEl in commentAreaEl.childNodes
          chat = chats[commentEl.dataset.index]
          if chat.vpos / 100 < vpos - settings.commentPreTime
            removalPendingElements.push commentEl
          else
            scrollTime = (vpos + settings.commentPostTime) - chat.vpos / 100
            commentWidth = commentEl.offsetWidth
            scrollPath = videoWidth + commentWidth


          commentEl.style.left = commentOffset + 'px'
          lineEndTimes[index] = chat.vpos / 100 + settings.commentPostTime

        if chat.vpos / 100 < vpos + settings.commentPreTime
          layoutedComment = Math.max layoutedComment, chatIndex

      layoutComments = ->
