Move example into its own js.