Simplify menu creation
Created attachment 263872 [details] Patch
Committed r191482: <http://trac.webkit.org/changeset/191482>