Update CCDirector.js

review