Change the locale of the datepicker, schedule and client side validation messages.
Attach events to the Widget lifecycle so you can call client side Javascript during PostConstruct, PostRefresh, or PreDestroy of the widget.