Example of JavaScript-only widget

@afrerich