add variable encapsulation for meteor