How to publish HTML5 Javascript on GameJolt or Newgrounds

I developed to games using cocos2d-x with javascript and I tried to publish them on newgrounds.com and gamejolt.
But the games doesn’t runs and a blank screen appears.
Both newgrounds and gamejolt embed my index.html on iframe. Web console shows next error
Javascript Web Console shows:

Permission denied to access property “_renderCmd” on game.min.js

Do you know how to fix it?

1 Like

I updated cocos2d-x and problem was fixed.