Ah, maybe it's a different issue. spine.js should be compatible with Spine 3.1
Maybe something else is wrong.
spine.js is currently being updated to 3.3/3.4 and should be done soon.
We'll try to test it with your project too to make sure the runtime matches the editor.
I don't think we have an official cocos2d-js runtime though. Where did you get that runtime?