You cannot deduct as moving expenses real estate commissions when selling your personal residence.
If you are not required to move for the new job, in other words your husband can work this new job from your present home, then you would not be able to deduct moving expenses.