Uncommented javascript validation in CreateCache.