This is a demo of the new HTML5 javascript selectors in action
The new selectors bring css selectors to javascript without the need for jquery
var els = document.querySelectorAll("nav li.active > a");
var first_li = document.querySelector("ul li:first-child");