This is code for a sidebar navigation menu. Menu is defined as JSON and DOM elements are built using JSON in Javascript.