a Processwire Ajax Request Handler