Added javascript to startup page to check status every 5 to 20 seconds
Fixed failure and startup pages