diff --git a/gwt-material/src/main/java/gwt/material/design/client/base/MaterialWidget.java b/gwt-material/src/main/java/gwt/material/design/client/base/MaterialWidget.java
index <HASH>..<HASH> 100644
--- a/gwt-material/src/main/java/gwt/material/design/client/base/MaterialWidget.java
+++ b/gwt-material/src/main/java/gwt/material/design/client/base/MaterialWidget.java
@@ -44,8 +44,8 @@ public class MaterialWidget extends ComplexPanel implements HasId, HasEnabled, H
         HasCircle, HasWaves, HasDataAttributes, HasFloat, HasTooltip, HasFlexbox, HasHoverable, HasFontWeight,
         HasDepth, HasInitialClasses {
 
-    public final static JQueryElement window = $(JQuery.window());
-    public final static JQueryElement body = $("body");
+    public final static JQueryElement window = window();
+    public final static JQueryElement body = body();
 
     /**
      * Configurable features enum see {@link #enableFeature(Feature, boolean)}.
@@ -115,6 +115,14 @@ public class MaterialWidget extends ComplexPanel implements HasId, HasEnabled, H
         return $this;
     }
 
+    protected static native JQueryElement window() /*-{
+        return window;
+    }-*/;
+
+    protected static native JQueryElement body() /*-{
+        return document.getElementsByTagName("body")[0];
+    }-*/;
+
     @Override
     protected void onLoad() {
         super.onLoad();
Revert back the issue on $.wnd is not a  function.