           #Found ok so set to var instead of searching each time
           @useMessageBox = true
           @messageBoxDivEl = document.getElementById(messageBoxId)
+          
         else
           # Unable to find El so fall back to alert message
           @useMessageBox = false

      self.dispMsg self.messagesArr[self.messagesCount]
      self.messagesCount++
      
      # pass obj ref to timeout func and call with timeOut value
      setTimeout ((self) ->
        self.updateMsgBox()
      ), self.timeOut, this


      # if the queue has messages then just add to the end
      if @messagesArr.length > 0
      
        @messagesArr.push message
        
      else
        #else add and call display timer
        @messagesArr.push message
