add ensure globals
:Merge branch 'master' of github.com:huskycode/node-template