Added JavaScript time_helper with format_time function.