Fix #12838: hook point for non-jQuery.ajax synchronous script fetch/execute in domManip. Close gh-1051.
(cherry picked from commit 03db1ada2cc223edf545c5a452e55062647837fa)
Followup #13779: Backwards-compatible unit test