edit menu and js refs #67