Add js scripts compiling support in cocos2d-console.