Made formatting changes based on jshint
Changed the logic for setting the "active" class on the list items
in the navigation menu