add script validation <alert>