added promises
Merge pull request #4 from natematias/master

added wayback machine query, and promises