code: private void skipScript() {
          if (!atTerminator()) {
              int oldIndex = index;
              ++index;
  
              char c;
              while (!isTerminatorOrIDSeparator(c = next()) && AsciiUtil.isAlpha(c));
              --index;
  
              if (index - oldIndex != 5) { // +1 to account for separator
                  index = oldIndex;
              }
          }
      }
docs: Advance index past script.
  Index must be immediately after the language and IDSeparator.
  If the item at this position is not a script (is not four characters
  long) leave index.  Otherwise index is left at a terminator or
  id separator.