An interesting piece of JS.