Discourse.Site.instance now returns a singleton object; add js test for NavItem