Buffer implementation in Meteor