See commit 82be897 on StrictlySkyler/TimelineJS.