menu js written for display