add addCustomTask in CCResourceLoader