meteor.js implementation of CAH