A JavaScript counter that uses timing functions to move towards it's destination.