Easy way to handle Ajax calls.