Updated example for latency compensation in order to make it work with latest Meteor version