[3.8] Fix jquery file upload dependencies