function: Don't call into JS if on the wrong thread
Checks that the current thread is the same thread as the JSContext was started on. If not, refuses to call into JS. Fixes #75.
75-avoid-off-thread-callbacks in 13 minutes and 48 seconds (queued for 3 seconds)5 jobs for