fixes #153, ajax handles errors and allows continuing request queue