A piece of Javascript code that checks if the value of a named field is a valid and available cloud name.