Javascript tests to see if a hosting enviornment is ready for rest