Fix for new API changes in meteor v0.9.1

The editor was broken because of new API changes in v0.9.1. I have fixed
them and got it working.