Navbar views do not need the registry functionality.
javascript strict mode and jshint warnings cleanup.