diff --git a/src/gresource/js/Greeter.js b/src/gresource/js/Greeter.js
index fe18fd4..c096658 100644
--- a/src/gresource/js/Greeter.js
+++ b/src/gresource/js/Greeter.js
@@ -25,18 +25,6 @@
* along with lightdm-webkit2-greeter; If not, see .
*/
-/**
- * The global window object.
- * @name window
- * @type {object}
- * @global
- */
-
-/**
- * The greeter's Theme JavaScript API.
- * @namespace LightDM
- */
-
/**
* Base class for the greeter's Theme JavaScript API. Greeter themes will interact
diff --git a/src/gresource/js/LightDMObjects.js b/src/gresource/js/LightDMObjects.js
index 978350b..a35fefe 100644
--- a/src/gresource/js/LightDMObjects.js
+++ b/src/gresource/js/LightDMObjects.js
@@ -25,6 +25,21 @@
* along with this program. If not, see .
*/
+/**
+ * The global window object.
+ *
+ * @name window
+ * @type {object}
+ * @global
+ */
+
+/**
+ * The greeter's Theme JavaScript API.
+ *
+ * @namespace LightDM
+ */
+
+
/**
* Interface for object that holds info about a session. Session objects are not
* created by the theme's code, but rather by the {@link LightDM.Greeter} class.