Update timelapse.js