Fixed #4456: Use undefined check in cc.loader and fix comment errors
Merge pull request #1706 from pandamicro/develop-3.0

Fixed #4456: Use undefined check in cc.loader and fix comment errors