Vidya: Adding a little javascript to make due dates propagate on the "create exam" page

When "due date" is filled out, the two fields below it (grace period and hard deadline) are also filled out automatically. If due date is changed to a date after grace period or hard deadline, those two values are updated automatically.