To call the global show() function, send the message show to the global object (window).
It is: window show.
Using the same object (JSObjectProxy) when you get a JQuery object as a result, you can invocate its methods the same way, using Smalltalk blocks instead of JS functions.
It is:
(window jQuery: '.table > thead > tr > th[name]') each: [:idx :elt |
console log: (elt attr: 'name').
]
Check:
http://amber-lang.net/documentation.html#JSObjectProxy