precompile jquery and uploadprogress add missing event arguments when I use preventDefault