custom js now enables the popup menu by itself