How to add a class name to div in javascript : <p>I have a simple script that calls my onepage-scroll.js script. How can I set the class name for <code>div</code> (which is a container) in case of this script? I've broke my head of trying to solve this problem - unfortunately my javascript knowledge is too poor at the moment and I'd appreciate any help.</p>

<pre><code>jQuery(".main").onepage_scroll({
   sectionContainer: "div",     
   easing: "ease",               
   animationTime: 1000,             
   pagination: true,                
   updateURL: false,                
   beforeMove: function(index) {},  
   afterMove: function(index) {},   
   loop: false,                     
   keyboard: true,                  
   responsiveFallback: false,                        
   direction: "vertical"
});
</code></pre>
