WordPress js embedded jotform sometimes submits without required files being uploaded