I am getting the error in 48th line as "Uncaught TypeError: Object [object Object] has no method 'getElement'' "
<p>I am getting the error in  line as</p>

<blockquote>
  <p>Uncaught TypeError: Object [object Object] has no method  'getElement'</p>
</blockquote>

<p>so please refer my code in javascript file</p>

<pre><code>addnavbtn: function(){

    if (!(Browser.ie &amp;&amp; Browser.version &lt; 9)) {
        var jlevel0 = this.menu.getElement('ul.level0');

        if(jlevel0){
            var jmega = this.menu;

            var jbutton = new Element ('div', {id:'js-megamenu-button', 'class': 'js-megamenu-button', html: 'Navigation', styles: { display: 'none'}}).inject (jmega, 'before');

            jbutton.addEvent('click', function(e){
                e.stop();

                if(jmega.getStyle('display') == 'block'){
                    jmega.removeClass('active').setStyle('display', 'none');
                    jbutton.removeClass('active');
                } else {
                    jmega.addClass('active').setStyle('display', 'block');
                    jbutton.addClass('active');
                }
            });  
</code></pre>
