secondLength var is now calculated faster

Instead of converting to string to find out how many digits there are in the seconds variable it now is divided by 10, this performs much better on every browser.