Hacked together a native extension that enabled you to create native context and app menus on OSX and Windows.
Examples:
See main/example.script
for usage example.
(I haven’t had time to test it on Windows yet, don’t have a Windows machine at the moment, but afaik it “should work”. )