Move js to handle input icons into manageShifts