Make it easier to override just the Ajax options

Fixes #1397