core: Fix cut off comment in jQuery.map from c72371f714. Close gh-1379.
No ticket: Fix XHTML regression. Close gh-1375.
No ticket: Fix IE focus test failures
(cherry picked from commit 3d6ed4483e2c9c52d83bdab72e9b884ebf720f22)
Run focus test only if document has focus

(cherry picked from commit 0b9a182ecde49adb508d76577e8f244da08a1e51)