JS: clean up some foreign imports
This cleans up a few foreign imports, mostly removing unnecessary function wrapping.
Also fixing the h$
prefix for the h$rts_isThreaded
constant.
This cleans up a few foreign imports, mostly removing unnecessary function wrapping.
Also fixing the h$
prefix for the h$rts_isThreaded
constant.