Inline the JS to be in the example.