[46355869] edit JD

code refine for edit JD functionaties

Signed-off-by: Henry Chen <hchen@vmware.com>