async defer and promises
Merge pull request #8 from Scarygami/master

Looks good!