Actually with minor modification on JS SDK, I am able to use it from Cocos2d-JS, but the problem that whenever I called a function it is giving an error 1401, which refer to UnAuthorized Access, in spite of that I am sure of setting the API Key and Secret Key correctly.