add core.js to hotpatch chat