js: Test existing call convention
js: Use .catch() to simplify error handling