Js automate import

enable/disable the cleanup with environment variables.
Also lookup the job via its jobItemID
only if you want it to cleanup.   if its undefined then line 64 ((cleanup != null && cleanup.equals("Yes")) ) just skips the cleanup phase.