diff --git a/index.html b/index.html
index b08c62a5..68c5e4f6 100644
--- a/index.html
+++ b/index.html
@@ -4,7 +4,7 @@
- reveal.js
+ reveal.js - HTML5 Presentations
@@ -313,11 +313,21 @@ linkify( 'a' );
transition: query.transition || 'default' // default/cube/page/concave/linear(2d)
});
+ // Fire off syntax highlighting for potential code samples in the slides
hljs.initHighlightingOnLoad();
-
-
-
-
+ // If we're runnning the notes node server we need to include some
+ // additional JS
+ if( window.location.host === 'localhost:1947' ) {
+ var notes_socket = document.createElement( 'script' );
+ notes_socket.setAttribute( 'src', 'socket.io/socket.io.js' );
+ document.body.appendChild( notes_socket );
+
+ var notes_client = document.createElement( 'script' );
+ notes_client.setAttribute( 'src', 'lib/slidenotes/client.js' );
+ document.body.appendChild( notes_client );
+ }
+
+