I am trying to create a mobile Nav-Bar using MaterializeCSS, but I do not understand where to post the Javascript.

[The bottom of this page](http://materializecss.com/navbar.html#!)

says to put this code:

```
 $(".button-collapse").sideNav();

```

in my 

```
 $( document ).ready(function(){})

```

I have no experience with Javascript at all, so figuring out what this means has been a struggle, even with google-fu.

Does this go within the existing materialize.js file? If so, where?

[here is the code for my navbar](http://pastebin.com/jkeg2L3L)