   main = doc.querySelector 'main'
 
   activeName.style.opacity = 0
-  activeTabs.forEach @.style.opacity = 0, @
+  activeTabs.forEach (tab) -> tab.style.opacity = 0
 
   doc.querySelector('#' + name + ' .tab-active').style.opacity = 1
 

    activeName = doc.querySelector '#name-active'
    main = doc.querySelector 'main'

    activeTabs.forEach @.style.opacity = 0, @
    activeName.style.opacity = 1

    $.ajax

tabs = ->
  tabs = ['manufacturer', 'production', 'contacts']

  tabs.forEach (tab) -> tabHandler tab

  $('#name').on 'click', ->

