Move 'use strict' to file level

Change-Id: I1f0dae4aa168e77c112bcd3688c98b84e4ce5f36
diff --git a/dev/js/src/match/attachement.js b/dev/js/src/match/attachement.js
index 9211728..70a2a20 100644
--- a/dev/js/src/match/attachement.js
+++ b/dev/js/src/match/attachement.js
@@ -9,9 +9,9 @@
  *
  * @author Nils Diewald
  */
-define(function () {
+"use strict";
 
-  "use strict";
+define(function () {
 
   const uriRE = new RegExp("^data: *([^;,]*?(?: *; *[^,;]+?)*) *, *(.+)$");
   const mapRE = new RegExp("^ *([^=]+?) *= *(.+?) *$");
diff --git a/dev/js/src/match/corpusByMatch.js b/dev/js/src/match/corpusByMatch.js
index 6d5baa5..cc2ae2f 100644
--- a/dev/js/src/match/corpusByMatch.js
+++ b/dev/js/src/match/corpusByMatch.js
@@ -1,6 +1,6 @@
-define(['vc/fragment', 'util'], function (vcFragmentClass) {
+"use strict";
 
-  "use strict";
+define(['vc/fragment', 'util'], function (vcFragmentClass) {
   
   return {
 
diff --git a/dev/js/src/match/infolayer.js b/dev/js/src/match/infolayer.js
index 8d28286..88404d5 100644
--- a/dev/js/src/match/infolayer.js
+++ b/dev/js/src/match/infolayer.js
@@ -2,8 +2,9 @@
  * Object representing information
  * about a match's layer annotation.
  */
+"use strict";
+
 define(function () {
-  "use strict";
 
   const _AvailableRE =
     new RegExp("^([^\/]+?)\/([^=]+?)(?:=(spans|rels|tokens))?$");
diff --git a/dev/js/src/match/meta.js b/dev/js/src/match/meta.js
index 9c4dfb1..2df6a58 100644
--- a/dev/js/src/match/meta.js
+++ b/dev/js/src/match/meta.js
@@ -1,6 +1,6 @@
-define(['match/corpusByMatch','match/attachement','util'], function (cbmClass, attClass) {
+"use strict";
 
-  "use strict";
+define(['match/corpusByMatch','match/attachement','util'], function (cbmClass, attClass) {
 
   // Localization values
   const loc   = KorAP.Locale;
diff --git a/dev/js/src/match/querycreator.js b/dev/js/src/match/querycreator.js
index bfb6f09..b7d54fc 100644
--- a/dev/js/src/match/querycreator.js
+++ b/dev/js/src/match/querycreator.js
@@ -5,8 +5,9 @@
  *
  * @author Nils Diewald
  */
+"use strict";
+
 define(['util'], function () {
-  "use strict";
 
   /*
    * TODO:
diff --git a/dev/js/src/match/table.js b/dev/js/src/match/table.js
index 285e615..9481728 100644
--- a/dev/js/src/match/table.js
+++ b/dev/js/src/match/table.js
@@ -2,11 +2,12 @@
  * Table representation of token-based
  * annotations of a match.
  */
+"use strict";
+
 define([
   'match/querycreator',
   "util"
 ], function (matchQueryCreator) {
-  "use strict";
 
   /*
    * TODO:
diff --git a/dev/js/src/match/treearc.js b/dev/js/src/match/treearc.js
index 6e7c01c..117936c 100644
--- a/dev/js/src/match/treearc.js
+++ b/dev/js/src/match/treearc.js
@@ -3,9 +3,9 @@
  *

  * @author Nils Diewald

  */

+"use strict";

 

 define([], function () {

-  "use strict";

 

   const svgNS = "http://www.w3.org/2000/svg";

   const _TermRE = new RegExp("^(?:([^\/]+?)\/)?([^:]+?):(.+?)$");

diff --git a/dev/js/src/match/treehierarchy.js b/dev/js/src/match/treehierarchy.js
index e54ef29..5273089 100644
--- a/dev/js/src/match/treehierarchy.js
+++ b/dev/js/src/match/treehierarchy.js
@@ -4,8 +4,9 @@
  *
  * This should be lazy loaded!
  */
+"use strict";
+
 define(['lib/dagre'], function (dagre) {
-  "use strict";
 
   const d = document;
   const svgNS = "http://www.w3.org/2000/svg";
diff --git a/dev/js/src/match/treeitem.js b/dev/js/src/match/treeitem.js
index 422f3d7..0d36724 100644
--- a/dev/js/src/match/treeitem.js
+++ b/dev/js/src/match/treeitem.js
@@ -1,5 +1,6 @@
+"use strict";
+
 define(['menu/item'], function (itemClass) {
-  "use strict";
 
   /**
    * Menu item for tree view choice.