how to write jd