Moving execution of mockHandler function. 

A hacky way to allow for async inside mockHandler calls. My use case
involves a call to indexedDB to retrieve the response. Basically, I'm
using mockjax to stub rather than for true mocking.