remove obselete functions, refactor trigger functions back to the
functions directory.  implement update job chronology with JSP version.