I've tried following advice here:
but I don't seem to have the recommended file anywhere (JSRefThreadsafe.shlb).
Any suggestions? Or might I have missed something more fundamental? Everything works fine as a patch.