NavigatorJS is the ultimate solution to show/hide your dom-elements based on a single state string.