Example of JavaScript-only widget