derekovecs: start empty if no word was given
diff --git a/templates/index.html.ep b/templates/index.html.ep
index c5d993c..b6ed132 100644
--- a/templates/index.html.ep
+++ b/templates/index.html.ep
@@ -188,7 +188,7 @@
        var collocatorData = <%= b(Mojo::JSON::to_json($collocators)) %>;
        var maxHeat; // = Math.max.apply(Math,collocatorData.map(function(o){return o.cprob;}))
 
-       if(data.mergedEnd > 0) {
+       if(typeof data !== 'undefined' && data.mergedEnd > 0) {
           vocabDistanceTable = makeVocabDistanceTable("#vocabdistt", baseURL);
        }
 
diff --git a/w2v-server.pl b/w2v-server.pl
index ae53f87..4aa687c 100755
--- a/w2v-server.pl
+++ b/w2v-server.pl
@@ -273,8 +273,7 @@
   my $res;
 	my @lists;
 	my @collocations;
-	$word="idea" if(!defined($word));
-  if(defined($word) && $word !~ /^\s*$/) {
+	if(defined($word) && $word !~ /^\s*$/) {
 		$c->inactivity_timeout(300);
 		$word =~ s/\s+/ /g;
     if($opt_m && $word !~ /\|/) {