text: $(document).ready(function(){
      $('.awesome-tooltip').tooltip({
          placement: 'left'
      });   
  
      $(window).bind('scroll',function(e){
        dotnavigation();
      });
      
      function dotnavigation(){
               
          var numSections = $('section').length;
          
          $('#dot-nav li a').removeClass('').parent('li').removeClass('');     
          $('section').each(function(i,item){
            var ele = $(item), nextTop;
            
            console.log(ele.next().html());
            
            if (typeof ele.next().offset() != "undefined") {
              nextTop = ele.next().offset().top;
            }
            else {
              nextTop = $(document).height();
            }
            
            if (ele.offset() !== null) {
              thisTop = ele.offset().top - ((nextTop - ele.offset().top) / numSections);
            }
            else {
              thisTop = 0;
            }
            
            var docTop = $(document).scrollTop();
            
            if(docTop >= thisTop && (docTop < nextTop)){
              $('#dot-nav li').eq(i).addClass('');
            }
          });   
      }
  
      /* get clicks working */
      $('#dot-nav li').click(function(){
        
          var id = $(this).find('a').attr("href"),
            posi,
            ele,
            padding = 0;
        
          ele = $(id);
          posi = ($(ele).offset()||0).top - padding;
        
          $('html, body').animate({scrollTop:posi}, 'slow');
        
          return false;
      });
  
  /* end dot nav */
  });
  