Tidying up onOpen()

menuEntries was an unnecessary local constant.