Added javascript timer for the uptime. This way it does not have to request the server every second