Fixed tutorial links
diff --git a/dev/js/src/init.js b/dev/js/src/init.js
index 80257e6..3f6d3a5 100644
--- a/dev/js/src/init.js
+++ b/dev/js/src/init.js
@@ -242,7 +242,7 @@
      * Add VC creation on submission.
      */
     var form = document.getElementById('searchform');
-    if (form !== undefined) {
+    if (form !== null) {
       form.addEventListener('submit', function (e) {
 	var qf = document.getElementById('q-field');