on line 36, this entry : var maxFileSize = $("input[name='MAX_FILE_SIZE']", $(this.form)).val(); appears to be incorrect. Changing it to the following: var maxFileSize = $("input[name='MAX_FILE_SIZE']").val(); allows me to set the max file size in the html form.
I'm not sure why the selector for jquery was set up that way, perhaps to specify which form (in the case of multiple uploads on a page).