Adding JSB in cocos2dx-4.0

After adding removed folder I was able to create JS project in 4.0 but when i try to compile the project i’m getting this error can anyone tell me how to fix this.

I don’t know what needs to be done under the hood. I know JSB was removed in v4.0 but I don’t know how deep.

@zhangxm can you share any thoughts on this topic?

I was able to compile the web build by adding a check inside project_compile.py. But now when i’m trying to compile for ios I’m getting this error.Can anyone tell me how to resolve this.