Moved the RegExp in ajax.js out from inline, goes towards ticket #4111.