         }
     }
     
-    private var footerMenuTransformJSEnumPath: String {
-        return "window.wmf.footerMenu.MenuItemType.\(footerMenuJSTransformEnumString)"
+    private var menuItemTypeJSPath: String {
+        return "window.wmf.footerMenu.MenuItemType.\(menuItemTypeString)"
     }
     
     private func localizedTitle(with article: MWKArticle) -> String {

    case languages, lastEdited, pageIssues, disambiguation, coordinate
    
    // Reminder: These are the strings used by the footerMenu JS transform:
    private var footerMenuJSTransformEnumString: String {
        switch self {
        case .languages: return "languages"
        case .lastEdited: return "lastEdited"

        
        let itemSelectionHandler =
        "function(payload){" +
            "window.webkit.messageHandlers.footerMenuItemClicked.postMessage({'selection': '\(menuItemTypeString)', 'payload': payload});" +
        "}"
        
        return "window.wmf.footerMenu.maybeAddItem('\(title)', '\(subtitle)', \(self.menuItemTypeJSPath), 'footer_container_menu_items', \(itemSelectionHandler));"
    }
}

