Make humanised_time_span into an AMD module