Fix broken demo and ajaxUploadPrompt()