(function () {
  'use strict';

  var querySelector = document.querySelector.bind(document);

  var navdrawerContainer = querySelector('.browse-topics');
  var body = document.body;
  var appbarElement = querySelector('.nav-bar');
  var menuBtn = querySelector('.menu');
  var main = querySelector('.main');
  var icon = querySelector('.menu-icon');

  function closeMenu() {
    appbarElement.classList.remove('open');
    navdrawerContainer.classList.remove('open');
    icon.classList.remove('x');
  }

  function toggleMenu() {
    appbarElement.classList.toggle('open');
    navdrawerContainer.classList.toggle('open');
    icon.classList.toggle('x');
  }

  main.addEventListener('click', closeMenu);
  menuBtn.addEventListener('click', toggleMenu);
  navdrawerContainer.addEventListener('click', function (event) {
    if (event.target.nodeName === 'A' || event.target.nodeName === 'LI') {
      closeMenu();
    }
  });
})();

$(document).ready(function() {
  $('.story-stream').slick({
      dots: true,
      infinite: true,
      speed: 500,
      slidesToShow: 1,
      slidesToScroll: 1
  });
});


@@ -1,16 +1,17 @@
+$
 (function () %7B%0A 
@@ -36,104 +36,22 @@
 var 
-querySelector = document.querySelector.bind(document);%0A%0A  var navdrawerContainer = querySelector
+navcontent = $
 ('.b
@@ -79,16 +79,18 @@
  body = 
+$(
 document
@@ -94,16 +94,17 @@
 ent.body
+)
 ;%0A  var 
@@ -119,29 +119,17 @@
 ement = 
-querySelector
+$
 ('.nav-b
@@ -146,37 +146,25 @@
 r menuBtn = 
-querySelector
+$
 ('.menu');%0A 
@@ -172,65 +172,16 @@
 var 
-main = querySelector('.main');%0A  var icon = querySelector
+icon = $
 ('.m
@@ -204,20 +204,21 @@
 unction 
-clos
+toggl
 eMenu() 
@@ -241,229 +241,55 @@
 ent.
-classList.remove('open');%0A    navdrawerContainer.classList.remove('open');%0A    icon.classList.remove('x');%0A  %7D%0A%0A  function toggleMenu() %7B%0A    appbarElement.classList.toggle('open');%0A    navdrawerContainer.classList.toggle
+toggleClass('open');%0A    navcontent.toggleClass
 ('op
@@ -307,24 +307,19 @@
 con.
-classList.
 toggle
+Class
 ('x'
@@ -332,155 +332,33 @@
 %0A%0A  
-main.addEventListener('click', closeMenu);%0A  menuBtn.addEventListener('click', toggleMenu);%0A  navdrawerContainer.addEventListener('
+$(menuBtn).
 click
-', 
+(
 function
  (ev
@@ -357,23 +357,17 @@
 tion
- (event
+(
 ) %7B%0A    
 if (
@@ -366,89 +366,13 @@
     
-if (event.target.nodeName === 'A' %7C%7C event.target.nodeName === 'LI') %7B%0A      clos
+toggl
 eMen
@@ -380,20 +380,15 @@
 ();%0A
-    %7D%0A
   %7D);%0A
+%0A
 %7D)()

rewrite script in jquery, clean up