changed to using new version of mean.js