Support Firefox Electrolysis by updating popupNode to gContextMenu

Fix firefox electrolysis for passifox by using the new gContextMenu and removing a duplicate variable declaration