moved required field to required inputs
refactored jobsSubmit to use promises