Set up transition.js to check delay/duration times