Convert from synchronous ajax to promises. Because reasons.
Removed unused failureCallback function.
Merge pull request #1 from renolc/master

Convert from synchronous ajax to promises. Because reasons.