In Firefox it appears that when one sets the duration variable, nothing happens. In Chrome I get inconsistent behaviour overall. Just wanted to report this, thanks.