I also think it would be a good idea to think about moving the selected attribute from the a tag to the li tag. Because it currently makes it difficult to apply selected styles to the li tag. 

li.selected {
/* li styles */
}

li.selected a {
/* link styles */
}