use promise and return promise in init.js
Merge branch 'master' of github.com:Canner/canner