added globals from mean.coffee