Reusable UI widgets example using RequireJS and KnockoutJS