Add support to function run_js() in jsrun.py to assert against a given process return code. This uncovers issues in other.test_embind which were not caught before. See #2335.
Merge pull request #2336 from juj/run_js_retcode_assert

Run js retcode assert