Added patch that demonstrates attempt to use promises with fake ajax