JS time animation: start via trigger