title: Meteor tutorial doesn't update MongoDB
body: <p>IM trying out Meteor ToDo-list tutorial but I have problem where I have a form and I should be able to insert the values into the database but it doesn't work. When I hit enter nothing happens.</p>
  
  <p>Here my my html:</p>
  
  <pre><code>&lt;head&gt;
    &lt;title&gt;Todo list&lt;/title&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
      &lt;div class="container"&gt;
          &lt;header&gt;
              &lt;h1&gt;Tee asjad ära!&lt;/h1&gt;
          &lt;form class="new-task"&gt;
            &lt;input type="text" placeholder="Type to add new tasks" /&gt;
          &lt;/form&gt;
      &lt;/header&gt;
  
          &lt;ul&gt;
          {{#each tasks}}
              {{&gt; task}}
              {{/each}}
          &lt;/ul&gt;
      &lt;/div&gt;
  &lt;/body&gt;
  
  &lt;template name="task"&gt;
  &lt;li&gt;{{text}}&lt;/li&gt;
  &lt;/template&gt;
  </code></pre>
  
  <p>here is the .js file:</p>
  
  <pre><code>Tasks = new Mongo.Collection("tasks");
  
  if (Meteor.isClient) {
  //see kood jookseb ainult kliendipoolel
    Template.body.helpers({
       tasks: function () {
        return Tasks.find({});
      }
    });
  
    Template.body.events({
      "submit .new-task": function (event) {
        var text = event.target.text.value;
        Tasks.insert({
          text: text,
          createdAt: new Date()
  
        });
  
        event.target.text.value = "";
        return false;
      } 
    });
  }
  </code></pre>
  
  <p>When I enter values from command line to the database it works fine.</p>