core: Fix cut off comment in jQuery.map from c72371f714. Close gh-1379.
No ticket: Fix XHTML regression. Close gh-1375.