Added asyncrhonous image fetching to remove the race condition between the node code, the client-side JS, and phantom.js. Fixes #18.