Improve cc.loader.loadJson for better error notif