Created timespan.js file