client: avoid depending on jQuery for widget class