Update time_log.js

Updating the new version.
Changing to run the customized function for the task.