added a list to the menu and cleaned up javascript