Use compiled ndn-js.js.
diff --git a/js/tools/ndnpublish/node-ndn-js-footer.txt b/js/tools/ndnpublish/node-ndn-js-footer.txt
new file mode 100644
index 0000000..5e42fba
--- /dev/null
+++ b/js/tools/ndnpublish/node-ndn-js-footer.txt
@@ -0,0 +1,11 @@
+/* This is node-ndn-js-footer.txt which make-node-ndn-js.js.sh puts at the end after including
+ * all the source files. Declare the exports.
+ */
+
+exports.NDN = NDN;
+exports.Closure = Closure;
+exports.Name = Name;
+exports.Interest = Interest;
+exports.ContentObject = ContentObject;
+exports.DataUtils = DataUtils;
+