transformScript(tree) {
    if (hasUseStrict(tree.scriptItemList))
      return tree;

    return new Script(tree.location, prepend(tree.scriptItemList),
                      tree.moduleName);
  }
This makes the code strict. It will add 'use strict' to Script and
FunctionBody as needed.