diff --git a/relay-js/index.html b/relay-js/index.html
index 7e9add3..fa30dab 100644
--- a/relay-js/index.html
+++ b/relay-js/index.html
@@ -27,12 +27,14 @@
*/
import {
- waitForRemotePeer,
WakuMessage
} from 'https://unpkg.com/js-waku@next/bundle/index.js';
import {
- createWaku
+ createWaku
} from 'https://unpkg.com/js-waku@next/bundle/lib/create_waku.js'
+ import {
+ waitForRemotePeer
+ } from 'https://unpkg.com/js-waku@next/bundle/lib/wait_for_remote_peer.js'
const statusDiv = document.getElementById('status');
const messagesDiv = document.getElementById('messages');
diff --git a/store-js/index.html b/store-js/index.html
index 2f93522..ccb9ca8 100644
--- a/store-js/index.html
+++ b/store-js/index.html
@@ -14,12 +14,14 @@