subcat partial as string in registerPartial-call

Instead of getting it from the DOM, the markup of the partial is
now directly provided as a string.