title: Using a 'mousemove' event in Meteor
body: <p>I want to use a 'mousemove' event in Meteor, I know how it's done in usual JavaScript but can't figure out how to implement it in Meteor.</p>
  
  <p>I have this code already in meteor:</p>
  
  <pre><code>  Template.index.events({
      'mousemove': function(e){
          var mouseX = e.pagex - $('#index').offset().left;
          var totalX = $('#index').width();
          var centerX =totalX / 2;
          var shiftX = centerX - mouseX;
          var startX = ($('#index').width() / 2) -($ ('image').width() / 2);
  
          $('image1').css('z-index');
          $('image1').css({'left': startX + (shiftX/10) + 'px'});
          console.log('mouse move');
      }
  });
  </code></pre>
  
  <p>It does register the mousemove event but doesn't move the image</p>
  
  <p>What it supposed to do:
  <a href="http://jsfiddle.net/5f1ksvs0/" rel="nofollow">JSFiddle</a></p>
  
  <p>How would I implement such an event in Meteor?</p>