[jscorebus] Fix memory leaks related to callback argument arrays