Mortgage JS edit