turn to es6 promise
merge
Merge branch 'master' of https://github.com/linkwisdom/bfs