fix bug, performActions is error
Merge pull request #126 from rockywu/gh-pages-rockywu

thenRequire should return a promise