Fix NOSCRIPT indexOf test