Update navBar.js

I completed issue #235 with this little change. I also updated it within the comments, just in case you wanted your CSS edits :P.