Universal backend: fix issue when an exception was raised in a Scheme function called from JavaScript