Issue #5781: Copy jsb_apis.js to new projects and Fix plugin-x issue