updated menu, index view with popover and more js