Changed javascript timer to not depend on the interval to determine the time. It now uses the starting uptime with the timedifference to calculate the current uptime.