diff --git a/javascript/bin/generate_static_data.js b/javascript/bin/generate_static_data.js
index <HASH>..<HASH> 100755
--- a/javascript/bin/generate_static_data.js
+++ b/javascript/bin/generate_static_data.js
@@ -23,8 +23,8 @@
 ///
 
 // Load the base files.
-load('../../external/bbop.js');
-load('../staging/amigo2.js');
+load('../../node_modules/bbop/bbop.js');
+load('../../node_modules/amigo2/amigo2.js');
 
 // For debugging.
 var logger = new bbop.logger('static data gen');
remove the need for a build step by using npm dist packages