Uses JS to poll for the latest image (where it's checked server side in PHP) and returns it to the client