Я вот нашёл формирование обькта
var FileUploader_photo_url_add_reward_level = new qq.FileUploader({'element':document.getElementById("photo_url_add_reward_level"),'debug':false,'multiple':false,'action':'/corporate/upload','allowedExtensions':['jpg','jpeg','png','gif','bmp'],'sizeLimit':819200000,'onSubmit':function(file, extension) {
},'onComplete':function(file, response, responseJSON) {
$('#modal-add-reward-level2 .thumb').load(function(){
$('#modal-add-reward-level2 .thumb').unbind();
$('#modal-add-reward-level2 .image-placeholder input[type=hidden]').val(responseJSON['filename']);
});
$('#modal-add-reward-level2 .thumb').attr('src', '/../pictures/'+responseJSON['filename']);
},'template':'\r\n <div class=\"image-placeholder small\"><input type=\"hidden\" name=\"photo_url\"/>\r\n <span class=\"thumbnail\"><img class=\"img-responsive thumb\" src=\"\" alt=\"\" /><\/span>\r\n <\/div>\r\n <div class=\"qq-uploader\">\r\n <div class=\"qq-upload-drop-area\"><span>Drop files here to upload<\/span><\/div>\r\n <p class=\"btn btn-default qq-upload-button\" href=\"#\">Select<\/p>\r\n <span class=\"help-block\">Recommended image size: 640x640 pixels.<\/span>\r\n <ul class=\"qq-upload-list\"><\/ul>\r\n <\/div>','messages':{'typeError':'{file} has invalid extension. Only {extensions} are allowed.','sizeError':'{file} is too large, maximum file size is {sizeLimit}.','emptyError':'{file} is empty, please select files again without it.','onLeave':'The files are being uploaded, if you leave now the upload will be cancelled.'},'params':{'PHPSESSID':'vf201sl2pnjmoe7uadls1afk91','YII_CSRF_TOKEN':'07154c9be5f00b7369e74fa1da38abe32e93617c'}});
});
Пытаюсь его посмотреть console.log(FileUploader_photo_url_add_reward_leve l); выдает что ошибка