refactored promise and added index.html to test
Merge branch 'master' of github.com:ricmrodrigues/runasync