If the markup is complex, then it's worthwhile to create a widget for it, even if it doesn't need js.