update JavaScript anchor transition speed.