updated for meteor 0.9.x