Fix to always render ajax responses sequentially

Fixes #6