Resurrect buildFragment and sacrifice jQuery.clean. See gh-1117.