Fixed possible script injection errors.