created the javascript to dynamically create the menu and side bar and did re-styling of the page