Change example to use jQuery object rather than React