Updated for meteor 0.9.0
Updated for sugarjs 1.4.1