Update CCActionManager.js

Find a way to optimize the object